/**
 * 分页器组件
 * 组件描述：提供分页功能。
 * @author LiAnqi
 * @Date 2022.2.22
 */
import { Pagination } from 'antd'

function FCPagination(props) {
  const { current, pageSize, showSizeChanger, totalCount, onChange, onShowSizeChange, showTotalCount } = props
  const activeProps = { current: Number(current), pageSize, showSizeChanger, total: totalCount, onChange, onShowSizeChange, showTotal: showTotalCount }
  return <Pagination {...activeProps}  />
}

export default FCPagination
